package com.alm.token.ui.data.bean;

import com.alm.token.base.BaseAdapter;

import java.util.List;

/**
 * Created by PDD on 2017/12/22.
 */
public class QuotaPageData {

    /**
     * msg : 操作成功
     * status : 0
     * data : {"list":[{"money":"-20.0000","createTime":1575360963000,"channelType":"兑换"}]}
     * success : true
     * timestamp : 1575362388012
     * total : null
     */

    private String msg;
    private int status;
    private DataBean data;
    private boolean success;
    private long timestamp;
    private Object total;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public Object getTotal() {
        return total;
    }

    public void setTotal(Object total) {
        this.total = total;
    }

    public static class DataBean {
        private List<ListBean> list;

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean extends BaseAdapter.BaseItem {
            /**
             * money : -20.0000
             * createTime : 1575360963000
             * channelType : 兑换
             */

            private double money;
            private long createTime;
            private String channelType;

            public double getMoney() {
                return money;
            }

            public void setMoney(double money) {
                this.money = money;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public String getChannelType() {
                return channelType;
            }

            public void setChannelType(String channelType) {
                this.channelType = channelType;
            }
        }
    }

}
